package com.autcar.training.entity;

/**
 * Create by linjh on 3
 */


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 会员表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "Member")
public class Member {

    //主键
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Integer id;

    //客户id
    @TableField(value = "cid")
    private Integer cid;

    //会员特权
    @TableField(value = "custom_pre")
    private String customPre;

}
